Articles → GIT → Initialize GIT RepositoryInitialize GIT RepositoryIn this article, we will initialize git repository.Steps Of Initializing Repository For initializing the repositoryOpen ubuntu.Go to the path using cd (Change Directory) command, where you want to set the repository.cd /mnt/c/temp/projectIn the above command, I am going to the following path – ‘c:\temp\project’.Enter the following commandgit initThe above command is to initialize git repository. Once the command is executed, a folder .git is created with following folder structure.Click to EnlargePosted By - Karan Gupta Posted On - Friday, June 21, 2019 Query/Feedback Your Email Id** Subject* Query/Feedback Characters remaining 250**
cd /mnt/c/temp/project
git init
Query/Feedback