only add selected files git code example Example: github command for adding all files To add all files in Git Staging Area git add .