I am using windows 10. When I type the command "git add ." in my Git Bash I keeping getting this message as shown below:
warning: could not open directory 'AppData/Local/Application Data/': Permission denied warning: could not open directory 'AppData/Local/ElevatedDiagnostics/': Permission denied warning: could not open directory 'AppData/Local/History/': Permission denied warning: could not open directory 'AppData/Local/Microsoft/Windows/INetCache/Content.IE5/': Permission denied warning: could not open directory 'AppData/Local/Microsoft/Windows/Temporary Internet Files/': Permission denied warning: could not open directory 'AppData/Local/Temporary Internet Files/': Permission denied warning: could not open directory 'Application Data/': Permission denied warning: could not open directory 'Cookies/': Permission denied warning: could not open directory 'Documents/My Music/': Permission denied warning: could not open directory 'Documents/My Pictures/': Permission denied warning: could not open directory 'Documents/My Videos/': Permission denied warning: could not open directory 'Local Settings/': Permission denied warning: could not open directory 'My Documents/': Permission denied warning: could not open directory 'NetHood/': Permission denied warning: could not open directory 'PrintHood/': Permission denied warning: could not open directory 'Recent/': Permission denied warning: could not open directory 'SendTo/': Permission denied warning: could not open directory 'Start Menu/': Permission denied warning: could not open directory 'Templates/': Permission denied
C:\Users\<username>? I'm afraid you are using Git command on a wrong path for a long time...%UserProfile%