Added support for a .git "redirection" file instead of directory