In this post, I am going to show you how to create (or) get a Git Repository.
Create a new Git repository
Go to the project directory and execute ‘git init’ command.
For example, Create HelloWorld directory and execute ‘git init’ command.
C:\Users\Public\gitDemos\HelloWorld>git init
Initialized empty Git repository in C:/Users/Public/gitDemos/HelloWorld/.git/
This post first appeared on Java Tutorial : Blog To Learn Java Programming, please read the originial post: here