Core Commands
Learn the essential Git commands for everyday use
Git provides a rich set of commands that form the foundation of version control. Understanding these core commands is essential for effective use of Git.
Git Init
Learn about Git Init in Git
Git Status
Learn about Git Status in Git
Git Add
Learn about Git Add in Git
Git Commit
Learn about Git Commit in Git
Git Log
Learn about Git Log in Git
Git Diff
Learn about Git Diff in Git
Viewing Commit History
Learn about Viewing Commit History in Git
Viewing Diffs
Learn about Viewing Diffs in Git
Git Log Options
Common options and flags for the git log command
Git Commit --amend
How to modify the last commit with git commit --amend
Git Reset
Understanding git reset and its different modes
Git Revert
How to safely undo commits with git revert
Git Reflog
Understanding and using git reflog for recovery
Git Checkout
Switching branches and restoring files with git checkout