https://obsproject.com/ is win/linux/mac and really good for this because you have a lot of options for compositing what you want to record e.g. include front-facing camera and mic which can be very revealing about body-language, facial expression and erm.. muttered expletives.
If we were working with a friend and saw the extremes of body-language we sometimes display obliviously when things are not going well, we would instantly recognise them as a cry for help and step in. When alone, we are liable to just dig a deeper hole.
I was going to give it a shot but I must say the price is a little out of my range for this type of tool. Am now considering the opportunity to write my own (for myself)... I guess I'm looking for a side project...
I'm also interested in a tool like this. I think it could be very interesting to combine with a recording from a webcam as well. I know what I'm going to see if I start with this though. I'm in a disassociated state, procrastinating or avoiding thinking about work more than I do actual work throughout the day.
It might be hard to find the exact time to observe, though. Commit history could be an indicator.
I will definitely try that. Any recommendation for a screen recording tool on Mac?