Implementation of git-require