If you are using Windows, please make sure that Git is configured to use “Checkout as-is”. This can be accomplished during the setup by selecting the second or third option from the screen depicted below. Also, if you do not have SSH installed, please make sure that [PATH_TO_GIT]\bin is added to your PATH.
Vagrant tends to create problems with file permissions when linux VMs are created from a Windows host. If you are a Windows user, please follow the following instructions.
After cloning the code to a Windows host, open the Vagrantfile in your text editor (I tend to use NotePad++). Inside, you’ll find the following two lines:
config.vm.synced_folder ".", "/vagrant" # config.vm.synced_folder ".", "/vagrant", mount_options: ["dmode=700,fmode=600"]
Please comment the first and uncomment the second line. The end result should be as follows.
# config.vm.synced_folder ".", "/vagrant" config.vm.synced_folder ".", "/vagrant", mount_options: ["dmode=700,fmode=600"]