git –version Set user name and email git config –list ( for list all configuration settings) git config –global user.name “abhinav” git config –global user.email “abc@yopmail.com” Remove git added file: git reset <filename> Remove git commit file: local changes will not remove. git reset HEAD^ git reset HEAD ~ 1 Remove git commit with changes:…