What is Git, Git Bash and Git Hub?
I am doing a Data Scientist Course from Johns Hopkins University – Coursera these days and I found it very useful to share with you guys that what is GIT, GIT BASH, GIT HUB ???
So these are three different terms, I will define each one by one as below:
Git is a free and open source version control system to manage projects. It resides on your Local Machine.
Git Bash is an interface to access Git. Git Bash can be downloaded from this link -> https://git-scm.com/download/win . It is a command line interface like Power Shell.
Git Hub is an open source web development tool and it manages the version control using the Git Bash and it is widely used for Data Scientist Development. You can collaborate on this web based hosting service for software development. It’s a collaboration web site.
So first you need to install Git and Git Bash on your local machine and configure it, and then you can make a Git Hub account on www.github.com. Make sure your email id is same in Git configuration and Git Hub subscription.
You can use Git Hub to work with other people on code and Projects, and always can push a copy or pull a copy from Git Hub to your local machine using Git Bash. And when you want to add or update the project, you can push the Project from your local machine to your Git Hub account and then contribute with others.
By Project we mean development Programming Project.
Setting up Git:
- Download Git from the link https://git-scm.com/download depending on your operating system,
- Install the tool
- Open and configure it using your name and email address. Make sure you use same email address that we will use for registering for Git Hub
- Now, enter the following command to configure Git Bash on your local machine
$ git config –global user.name “Your Name Here”
$ git config –global user.email “ your email address here”
For example I configured Git on my machine using the Git Bash as follows:
This is how Git Hubs looks like:
Best Documentation on Git Hub: