If the git repository folder doesn't exist the script currently aborts and waits for you to create it. This should really be controlled by a flag of some sort and by default the script should create the directory if it is reasonable to do so.
It is reasonable to create the directory so long as the main part of the path already exists and only the git directory is missing, otherwise a flag is needed to force recursive creation of directories.
If the git repository folder doesn't exist the script currently aborts and waits for you to create it. This should really be controlled by a flag of some sort and by default the script should create the directory if it is reasonable to do so.
It is reasonable to create the directory so long as the main part of the path already exists and only the git directory is missing, otherwise a flag is needed to force recursive creation of directories.