IntelliJ Git Integration – git –version empty output

I am currently trying to use the Git integration for IntelliJ 2016.2, but whenever I point it to the executable I get the following issue:

Git Version output problem

  • GIT Split Repository directory preserving *move / renames* history
  • Eclipse and EGit: how to commit build directories
  • Why git AuthorDate is different from CommitDate?
  • .gitignored files still shown in RStudio
  • Remove all .gitignore files of my folder
  • Use gpg to sign git commits in eclipse
  • This doesn’t technically prevent the integration from working but it does cause issues updating the index etc.

    I’m running Windows 7, with a completely fresh install, but I had the same issue on the previous PC (these are work machines with various irritating levels of security) but I have colleagues with the same kit that have no such issues.


    I should have mentioned that it works fine on the command line:

    Git Command Line Output

    I’m sure I’ve read something about a change in the way this works internally that means when it’s called by an outside executable the output gets screwed up, but I can’t find the reference again.

  • Fortrabbit git pull issue - Could not get lock on repository
  • How to switch existing Intellij IDEA projects from SVN to Git SVN
  • How to manage a project dependent on another project in Git?
  • How to safely change github account name?
  • git sub modules visual studio 2017 not downloading
  • Should website image files be included in GIT repository?
  • 2 Solutions collect form web for “IntelliJ Git Integration – git –version empty output”

    I had the same issue and tried a number of things. It eventually began working again when I downgraded my git install.

    Make sure you set the right path to Git executable:
    IntelliJ > Settings > Version Control > Git should be C:/…/Git/bin/git.exe

    Do not set git-bash.exe or git-cmd.exe

    Git Baby is a git and github fan, let's start git clone.