Configure Git
Configuring Git
By default git is already installed. Execute the following lines for configuration.
git config --global user.name "Full Name"
git config --global user.email "Email Address"
git config --global core.editor nano
git config --global color.ui true
To show all configuration run:
To count total number of commits:
Configuration for remote repository
In case of error: "fatal: refusing to merge unrelated histories" use --allow-unrelated-histories flag. For more details run: man git.