1.. gitconfig not Found
After configuring Git for the first time in as, a serious error occurred, and when you right-click Git bash here in a local repository, your. gitconfig file will not be found, error xxx/xxx/%homedriver%%home....%: Can ' t Find. Gitconfig, and so on, but I found that my computer user variables do not have these two things, do not know whether it was deleted or not originally
Solution:
To create a new HOME in the user variable, the value of the variable is the path that contains the. gitconfig. Gitconfig default below user/xxx/, you can copy one copy, which also implements the modification. Gitconfig Default Path effect
2. As error: Push failed:failed with error:could not read from remote repository.
Solution:
This was probably an Intellij problem. Your key is managed natively by SSH, and Intellij have it ' s own SSH program.
Go to the settings, search Git->ssh executable and then choosenative
From Https://stackoverflow.com/questions/24688700/android-studio-push-failed-fatal-could-not-read-from-remote-repository
Problems with Git in Android studio