How to Create a GitHub Account for Your Development Projects and Install Git on Ubuntu 18.04 LTS

June 24, 2018
How to Create a GitHub Account for Your Development Projects and Install Git on Ubuntu 18.04 LTS

“How to Create a GitHub Account for Your Development Projects and Install Git on Ubuntu 18.04 LTS” covers the entire process of creating a GitHub account for your development projects and installing and configuring Git on an Ubuntu 18.04 LTS machine. GitHub is an online resource for code and development that allows users and teams of developers to collaborate on projects. GitHub centers around the Git version control system developed by Linus Torvalds which tracks and documents changes and updates to projects. Git is a command line utility that allows us to add, commit, and push (upload) project changes to a GitHub account that we have access to.

1. Open a web browser and enter the following URL into the address bar:

How to Create a GitHub Account for Your Development Projects and Install Git on Ubuntu 18.04 LTS

2. The form on GitHub’s home page is what we will use to create our new GitHub account. There are three bits of information that we need to create an account, a username, an email address, and a password. Enter this information into the form, then click on the green button that reads, “Sign up for GitHub.”

How to Create a GitHub Account for Your Development Projects and Install Git on Ubuntu 18.04 LTS

3. After clicking the submit button, we are taken to “step two” of the process. This step prompts us to choose the type of plan that suits our needs the best. We want to choose the free plan for now. The free plan means that the repositories that we create will be public and, therefore, can be viewed, downloaded, or copied by anyone. Ensure that the free option is selected and click the green Continue button to advance to the next step.

How to Create a GitHub Account for Your Development Projects and Install Git on Ubuntu 18.04 LTS

4. In this step of creating our GitHub account, we are asked to provide some information that could be considered a tad personal. We are asked to provide information like our programming experience, our plans for our GitHub account, a generalized description of ourselves, and a few interests. Since Microsoft’s purchase of GitHub, I am reluctant to offer this information, but feel free if you so desire. To skip this step, simply click the “skip this step” link at the bottom of the page. Otherwise, fill out the information requested and click the green Submit button at the bottom of the page.

How to Create a GitHub Account for Your Development Projects and Install Git on Ubuntu 18.04 LTS

5. Alas, our account is created and we are taken to our new GitHub account dashboard.

How to Create a GitHub Account for Your Development Projects and Install Git on Ubuntu 18.04 LTS

6. With our GitHub account created, we just need to install Git on our Ubuntu 18.04 LTS machine. Open a terminal and enter the following command to install Git on your system:

sudo apt-get install git -y
How to Create a GitHub Account for Your Development Projects and Install Git on Ubuntu 18.04 LTS

7. Once Git finishes installing, we have to configure it before we can commit any changes and connect to our GitHub account. The first thing that git needs to know is who we are. Enter the following command to configure the username for Git, replacing <Your_Username> with your actual username:

git config --global  user.name “<Your_Username>”
How to Create a GitHub Account for Your Development Projects and Install Git on Ubuntu 18.04 LTS

8. Finally, we need to configure an email address for Git. Enter the following command to set the email address for Git, replacing <Your_Email> with your actual email address:

git config --global user.email “<Your_Email>”
How to Create a GitHub Account for Your Development Projects and Install Git on Ubuntu 18.04 LTS

That’s all there is to installing Git on your Ubuntu 18.04 LTS system. With your new GitHub account created and Git installed and configured on your machine, you can begin using the features offered by the tools.