Make sure you run this commands
git config --global user.name "John Doe"
git config --global user.email "johndoe@email.com"
In the terminal. In this directory -I´m a Windows user-: C:\Program Files\Git\bin
Had the same issue. Solved running those commands there