Git it to work by having a / after the name of the directory.