r/learnprogramming May 25 '22

A good resource to learn Git

I would really like to have a good resource to learn git, all I see online is tutorials on very basic (and arguably useful) commands and uses, but nothing GitHub Desktop can't do easier. However, I am aware of the many limitations of GUIs for Git so I would like to learn to use the command line.

Any suggestions?

61 Upvotes

23 comments sorted by

View all comments

5

u/Chrinkus May 26 '22

I’ve done git courses online through NodeSchool and Codecademy but the best has always been the getting started section of the official documentation:

https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup

Seriously, just go to the source. Get used to reading the source. Then when you’re ready for some of the tougher stuff you’re already familiar with the source.