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

Show parent comments

103

u/dslfdslj Sep 22 '20

Git and Github are two different things. You can use Git without a Github account. You can use Git even without having an internet connection. What Git does is save your old work states locally. If you want you can synchronize them with other computers. For example with your own server, or someone else's computer, a Gitlab server or even a Github server. But you don't have to.

3

u/BruceJi 📦 Sep 22 '20

That's true, yeah. I feel like Git works its best with Github, but you're right, it doesn't need it, and they are indeed different things.

25

u/dukea42 Sep 22 '20

That is still a dangerous statement. "Git works best with a remote repository such as Github." is better. Not all companies want their code uploaded to Microsoft owned servers. My company uses a local instance of Gitlab for example.

3

u/BruceJi 📦 Sep 22 '20

Also a very solid point!