I was wondering if there exist a script (python, or other runnable on windows) that checks every say 1 minute which branch is currently checked out in a git working copy.
That way it would be possible to estimate the time required for each ticket/branch to get a time-tracking report.
My answer to this is an implementation in Python: https://github.com/schoetbi/gitwatch