added new script for converting bare repo to stash