On Friday, June 23, 2017 at 04:47 CEST,
As the error message indicates the problem is that you're not on a
branch. This is because you checked out FETCH_HEAD and ended up on
a detached head (as you can see from the "git branch" command).
Create a branch where you stand with e.g. "git branch my-rebase"
and you should be fine.
If this worked on Linux it might be because you're using different
versions of Git and one is less restrictive than the other.
--
Magnus Bäck | Software Engineer, Development Tools
magnu...@axis.com | Axis Communications