Port `git_dir` to Python
Drop the Bash script and move to Python.
Ensure that the Python is ran hermetically with the bootstrap script.
Write some pytest tests around the rule to validate that the .git directory is the correct structure. We can use dulwich Python module to validate it.
We should do #9 first.
Edited by Matthew Clarkson