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

9

u/OiZP Sep 22 '20

Git is separate from GitHub. Git is a local program that helps you keep track of changes on your project (both for mess-ups and keeping track of different versions, ie. master vs. development branch, f.ex.). GitHub is a place you can store your local git project online. You will use git in every SW you will ever have, so definitely worth it to learn.

-4

u/Vietname Sep 22 '20

I wouldn't call them separate. Github is just an online implementation of git. Using git with a local repo is functionally the same as using github (at least as far as the command line is concerned), the repo just happens to be located at github's server instead of yours.

2

u/OiZP Sep 22 '20

Yes, that's true, I just meant to say it's not the same thing:) I've heard people talk about them like they are the same, that's why I wrote it like that:)