Setting up an account on github is the first thing you should do if you want to join the open source community and start contributing to it. This article is written to help the students to have a smooth landing to the open source world from their academics.
Github is a code sharing platform used by millions of people to work collaborately. It offers all what git gives you and even more. Unlike Git, github gives you a GUI with a web interface.
GitHub has become such a staple among the open-source development community that many developers have begun considering it a replacement for a conventional resume and some employers require applicants to provide a link to and have an active contributing GitHub account in order to qualify for a job. [Courtesy: Wikipedia]
STEP 1 : Sign Up
Let us create a free account in Github.com
- Go to https://github.com/
- Enter username, email address and the password.
- Click on Sign Up for Github button
STEP 2 : Create your first repository
- Login to https://github.com/
- Click on the New Repository button located in the bottom right of the page
- You will be taken to a page where it ask you to enter some details about the new repository you want to create.
- Enter your repository name
- Github will create a url with this name to access the repository
- Let it be a public repository i.e Anyone can see this repository. But You choose who can commit.
- Check Initialize this repository with a README
- Skip gitignore and LICENCE part
- Click on the Create Repository button
STEP 3 : Clone your repository to your machine
- Install Git
- Copy the repo URL to the clip board
- Go to your repository page in github
- On the right side of the page, you will see SSH Clone URL
- Click on the Paste link below it
- The repository URL is copied to your clipboard
- Open your Console / Terminal / Command line Interface
- Create a workspace in your home folder
- MAC, Linux
- Go to the workspace in console
- Type git clone and Paste the copied repo URL
- This should look like
git clone email@example.com:username/repo-name.git
- Press Enter
Now you have the repository cloned in your workspace. Happy Coding!