Programmerzzz
Programmerzzz

Reputation: 1287

Difference between Git, Github and Github Desktop for Windows/Linux/Mac

I am a very new bie to Git and coming from a TFS background and trying to get on speed with Github. while reading about it, what I learnt is the following:- Github is a web based service for Hosting Git repos. Git is Local Version Control System,

Q1: How could Git track the changes on a local machine without server?

Git and GitHub are not tightly coupled, meaning Git need not be necessarily using Github

The Git I installed was downloaded from here I also found Github for Windows client here So my Question boils to

Q2:How the two client installers above are different and when to use which one?

Upvotes: 2

Views: 6320

Answers (1)

Avin Zarlez
Avin Zarlez

Reputation: 1682

A1: Your git repo can set up one, or more "remote" repositories it can "push" changes to. GitHub is a source of such remote repositories. But you could set up free repositories at many services (like Visual Studio Team Services, or BitBucket)

When you "clone" a repo from somewhere, all you are doing is making a local repo and setting the remote repo of name "origin" to wherever you happen to be hosting it.

Think of it like this: Imagine the most popular Web hosting company was called "PhpHub" - all the sites on PhpHub use php, but you can host php anywhere. That's the relationship to git/github.

A2: There are many different git clients. At their root, they use the git protocols and the command line interactions. But there are many different competing tools.

GitHub makes their own, which is really kind of awful and not very good at helping you understand git or responding to errors. Most devs use command line, because it is the way git was meant to be used. Many of the commands simply don't translate well in a GUI format.

However, if you need a GUI to get started or help visualize, I'd recommend looking into "SourceTree". At least, it is my favorite.

Upvotes: 1

Related Questions