Do you know if there is a way to block committing to a local git repository? In my build environment, I\'m running some git commands through it and it breaks if the user makes
You should clone the repository and do your work in the fork. Forks on the local disk can use symlinks to save time and space.
Git does not have any notion of a lock.