updated multi repo study location indexing
changed study write to use tmpfile
added some new tests for new functionality in git_actions