Set Global Git Username and Email
git config --global user.name "Asis Patra"
git config --global user.email "[email protected]"
# Verify
git config --list
Set Git Username and Email for a Single Repository
# First move to git repository directory
git config user.name "Asis Patra"
git config user.email "[email protected]"
# Verify
git config --list
Add and Commit files to a Git Repository
git add --all
git status
git commit -m 'Initial commit of all files to the repository'
Push the Changes to the Remote Repository
git push