could not create work tree dir 'instashell': Permission denied code example
Example: how do i fix cannot create work tree dir permission denied
If you are working in Windows you have to change the permissions of the directory putting full permissions or just write to let github clone the repository.
...
The steps are:
Go To your directory.
open properties.
go to tab "security"
change the permissions.
apply.