r/learnpython • • Sep 22 '20

What is learning GIT?

I saw in a post that you have to learn git for most programming jobs, what exactly is git? and where can i learn it, i always just assumed its just uploading your stuff to github. not too sure if this is the right place to post this

347 Upvotes

116 comments sorted by

View all comments

1

u/[deleted] Sep 23 '20

Git is amazing and you should spend some time learning it. It will make your learning to code easier.

I like this basic tutorial.

https://rogerdudler.github.io/git-guide/

I would say pause on the coding aspect and just play with text files while you learn the super basics of git. Once you learn how to create a repository ("repo" for short), "clone" from it, "commit" to it (with an attached comment why/what the change is for), and how to "push" to and "pull" from your repo, then you can apply that concept to your coding.

As you make changes and commit and push the changed files to your repo, every single change is tracked in the change log. If you make a mistake, you can roll it back. It's super powerful.