Support for locking to specific git commit