Here are some of the most commonly used Git commands:
git init: Initializes a new Git repository in the current directory.
git clone: Creates a copy of a remote repository in your local machine.
git add: Adds changes to the staging area.
git commit: Creates a new commit from changes in the staging area.
git status: Shows the status of changes in the working directory and staging area.
git log: Shows the commit history of the current branch.
git diff: Shows the differences between two commits, or between the working directory and the last commit.
git branch: Lists, creates, or deletes branches.
git checkout: Switches to a different branch or commit.
git merge: Combines changes from different branches into the current branch.
git remote: Manages connections to remote repositories.
git fetch: Downloads new changes from a remote repository, but doesn’t merge them.
git pull: Downloads new changes from a remote repository and merges them into the current branch.
git push: Uploads new commits to a remote repository.
git stash: Temporarily stores changes that are not ready to be committed.
There are many other Git commands available, but these are some of the most frequently used ones.