Git Episodes


Create a Remote Repository From The Terminal

One common way of creating a remote repository is by visiting a website such as [GitHub](, [GitLab](, [Bitbucket]( etc., and using the browser to create the remote repository. An alternative way is to use the terminal. In this tutorial, we're going to learn how to create a remote repository from the terminal using GitLab. Creating a remote repository directly from the terminal seems faster and more efficient in my opinion. If you would like to follow along, you will need a git installed on your machine, [GitLab]( account and some familiarity with using the [Git](, free open source, version control system. To get started visit and click on register. You can also check Episodes [8]( and [9]( and also my blog post on [Version Control with Git]( While all these focus on GitHub, the same concepts can be applied to other other software development platforms after making a few minor tweaks to the code here and there where necessary. In this tutorial, we're going to create our remote repository without having to leave the terminal.


GitHub Remote Repository

In this episode, we're going to create our first local version control repository for our SQL projects and then connect it to a remote repository on GitHub.


Version Control Set Up

Version control enables developers to record changes made to scripts, files, and folders while developing applications. After saving her work, the developer can then revert back to previous versions if and when the need arises. While developing applications, the developer, might have a compelling reason to revert to an older version of her code. This is where version control comes to the rescue.