how to add just one file in git code example Example: github command for adding all files To add all files in Git Staging Area git add .