Here Are All the Git Commands I used Last Week, and What They Do

60

Like most newbies, I started out searching StackOverflow for Git commands, then copy-pasting answers, without really understanding what they did.

1*0o9GZUzXiNnI4poEvxvy8g.png

Image credit: XKCD

Well, here I am years later to compile such a list, and lay out some best practices that even intermediate-advanced developers should find useful.

To keep things practical, I’m basing this list off of the actual Git commands I used over the past week.

Almost every developer uses Git, and most likely GitHub. But the average developer probably only uses these three commands 99% of the time:

Read more at freeCodeCamp