Use buffer-file-name if load-file-name is nil
git-clone is not a built-in function