Available Commands
Click on any command to copy it instantly
Learn Git Deeper
Master version control with comprehensive resources
Initialize Repository
Create an empty Git repository in a directory to start version controlling your project
git initClone Repository
Clone an existing Git repository from a remote server to your local machine, creating a complete copy with full history
git clone <repository>Configure Git
Configure Git settings including user identity, editor preferences, and repository-specific options
git configCheck Repository Status
Display the current state of your working directory and staging area, showing which files are modified, staged, or untracked
git statusgit loggit showgit diffgit branchgit checkoutgit switchgit mergegit rebasegit addCommit Changes
Create a commit to permanently record staged changes in the repository history with a descriptive message
git commitgit resetgit restoregit revertgit remotegit fetchPull from Remote
Download and integrate changes from a remote repository into your current local branch, combining fetch and merge in one command
git pullPush to Remote
Upload your local commits to a remote repository, making your changes available to collaborators and updating the remote branch
git pushStash Changes
Temporarily save your uncommitted changes without committing them, allowing you to work on something else and restore them later
git stashgit stash applygit taggit push --tagsgit tag -d <tag>git tagManage Submodules
Initialize, update, or inspect submodules in a Git repository to manage nested dependencies
git submoduleClean Untracked Files
Remove untracked files and directories from your working tree to restore a clean workspace
git cleanBinary Search for Bugs
Use binary search to find the specific commit that introduced a bug or regression
git bisectManage Worktrees
Manage multiple working trees linked to a single Git repository for simultaneous development across branches
git worktreegit refloggit filter-branchgit gcgit format-patchgit amgit blamegit grepgit fsckgit prunegit cat-filegit hash-objectMissing a command?
Help us improve this collection by suggesting commands that should be added. Your contributions help the entire developer community!