Build target for recording git commit