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

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.

EDIT

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.

  • IntelliJ git fetch pruned remote references
  • How to connect IntelliJ to Google Cloud Development Git respository
  • Git - rm --cached .idea and fatal pathspec
  • Ignored files are still visible in Commit Changes window - IntelliJ 13
  • VSC -> Git -> Annotate button is disabled
  • IntelliJ Idea: Disable Auto Commit on Merge
  • invalid color value: red strike error message
  • How does one create a multiple “syncronous” repository remote GIT branch in intelliJ
  • 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.