
# sudo apt-get update
# sudo apt-get install git
|
Install on Centos/Redhat
# sudo yum install git
|
Install on Fedora
# sudo dnf install git
|
verify the installed version of Git
# git –version
git version 2.7.4
|
Now, Configure Git username and email using the following commands, Replace highlighted details with your actual details. These details will be associated with any commits that you create:
# git config --global user.name "Subhash Vadadoriya"
# git config --global user.email "it.subhashpatel@gmail.com"
|
Next - Create Repository