symlink function work for directories
Add a git directory