removed changing directory from the script - it will always create the new repo in the current directory