1. Open a web browser and enter the following URL into the address bar:
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.”
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.
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.
5. Alas, our account is created and we are taken to our new GitHub account dashboard.
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
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>”
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>”
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.