Git created by Linus Torvalds in 2005 is one of the most popular distributed version-control systems used nowadays. Git helps us to create and maintain repositories, get track of versions and enable comparison between them, and help to manage changes made to the different files in the repositories; which maintains accountability and promotes collaboration among developers.
It’s recommended that first of all you assign a username and email.
$ git config --global user.name <name>
$ git config --global user.email <email>
There a three different ways to start a new repository: