WIP #23: Updated setup_git.sh to work with an arbitrary directory.

This lets us build the whole shebang locally and not have to send remote.