How to Initialize a Local Git Repository

This article is specifically written for a Git section article because the focus of this article is solely on the usage of a Git utility where the main purpose is stated in the title of the article. It is specifying on how to initialize a local Git repository.

There are two scenarios which can be happened in the real situations. It is classified as both using an empty folder or a folder with the content already available. Below are those descriptions :

1. Initializing Local Git Repository in an empty folder :

It starts with creating a new folder named ‘git-folder’ and then the command responsible for initializing it will be executed as follows :

Continue reading “How to Initialize a Local Git Repository”