Skip to content

Most Commonly Used Git Commands

A lot of chatter about using Git and Subversion from the command line versus clients. Folks, take your time and learn the command lines. There’s a lot of stuff you can use the UI clients don’t always wrap into UI. Things like post-commit hooks, etc make the command line way more pure and powerful.

Here’s the same list for Subversion.

But for Git/Github, you can get most of what you need out of git clone, git commit, git push, git pull, git status, git diff and git merge.

Learn these and you won’t know everything about git, but you’ll be most of the way there.


  1. Keith Casey Keith Casey

    Add: git checkout & git branch and I’m in agreement.

  2. It’s important to understand these fundamental concepts of Git before getting started. However, don’t be afraid/shy/embarrassed to ask coworkers, Things can certainly get more complex than these few commands. Fortunately, there is a user-friendly-ish Git manual to help if you can’t find a live person.

  3. I’d add ‘git init’ – not going to get very far without a project.

Comments are closed.