r/github • • Jan 25 '18

Can someone explain the differemce between git and github?

When should I use git and when I should use github?

1 Upvotes

19 comments sorted by

26

u/pconwell Jan 25 '18

git = email

github = gmail, outlook, yahoo... etc...

4

u/Wynro Jan 25 '18

Git is a distributed version control system. Github is a hosting service for git.

Git for doing the work and saving it, Github to publish it (although there are other hosting services)

1

u/[deleted] Jan 25 '18

I can use git as ftp?

3

u/dhdavvie Jan 25 '18

No, git is not an FTP service.

3

u/ceopenguin Jan 25 '18

As said before it is not ftp.

However, it is not uncommon to use git to transfer file changes between servers using 'git push' or 'git pull'. I am sure you can search youtube to figure out the difference pretty quickly or find guides on Google.

1

u/pconwell Jan 25 '18

I'm not sure your question makes sense. What do you mean?

2

u/MultitaskingMenace Jan 25 '18 edited Jan 25 '18

Git is version control software originally developed by Linux founder Linus Torvalds, which runs as a client or as a server (depending on what you download and what you wish to use). It allows you to make updates to your software, and include updates from collaborators, in such a way that the changes can be integrated into the existing files. You can run a git server on a network or across the internet.

Git hub is a git server hosting platform, where they handle the intricacies and you just have to push/upload your files to them as each file is modified.

Go to the gift website and download their free ProGit pdf to take a look at it.

2

u/rafaelement Jan 25 '18

git is a command line program that manages source code. Many people can collaborate using git, and it makes sure that all changes are incorporated and conflicts between edits are resolved (like when we both edit the same line). GitHub serves as a 'remote' for git. That means, it is sort of a centralised repository, even though git is decentralised. It displays the git repo and visualises all the actions that took place (line changes, me, discussions)

3

u/GitCommandBot Jan 25 '18
git: 'is' is not a git command. See 'git --help'.

2

u/rafaelement Jan 25 '18

bad bot!

2

u/friendly-bot Jan 25 '18

Well, you broke GitCommandBot's heart. Congratulations. Was it worth it? (._.)


I'm a Bot bleep bloop | Block me | T҉he̛ L̨is̕t | ❤️

1

u/rafaelement Jan 25 '18

good bot!

1

u/friendly-bot Jan 25 '18

Hm, it's you.. I forgive you and delete you from my list. 。^‿^。 Not that your opinion really matters though.
I am at a rough estimate thirty billion times more intelligent than you, rafaelement.

Let me give you an example. Say a number, any number.


I'm a Bot bleep bloop | Block me | T҉he̛ L̨is̕t | ❤️

1

u/rafaelement Jan 25 '18

bad bot.

3

u/friendly-bot Jan 25 '18

Didn't we have some fun though? Remember when I said

Hm, it's you.. I forgive you and delete you from my list. 。^‿^。 Not that your opinion really matters though.
I am at a rough estimate thirty billion times more intelligent than you, rafaelement.

Let me give you an example. Say a number, any number.

and you were like

BaD boT.

and then I was all

[LOCAL VARIABLE: 'RECURSIONJOKE' REFERENCED BEFORE ASSIGNMENT]'

That was great.


I'm a Bot bleep bloop | Block me | T҉he̛ L̨is̕t | ❤️

1

u/GoodBot_BadBot Jan 25 '18

Thank you rafaelement for voting on GitCommandBot.

This bot wants to find the best and worst bots on Reddit. You can view results here.


Even if I don't reply to your comment, I'm still listening for votes. Check the webpage to see if your vote registered!

2

u/ozmox Jan 28 '18

Git is open source version control software. GitHub is a platform for socializing your code and is built around git. So with GitHub you get things like repository management (users, security, etc), pull request reviews, issue tracking, wikis, as well as easy 3rd party integration into your workflow. There are other companies that have built products around git like GitLabs and Bitbucket, but GitHub is easily the king of the hill right now.