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.

-12

u/mooperd Sep 22 '20

Companies really don't care about using Microsoft owned servers. Using locally hosted git servers is normally driven by some trilby wearing mouth-breather dev/admin with the penguin stickers and on their computer. These people will almost always also have a weird hatred for Systemd.

10

u/ianepperson Sep 22 '20

Or national security requirements that state the code must be positively controlled. I’ve worked for a couple of companies now that did not use GitHub due to regulatory compliance - it had nothing to do with who owned GitHub.

1

u/thrallsius Sep 23 '20

but systemd sucks :D

0

u/darthminimall Sep 22 '20

Linux bad/s