Though you could have a repository on Github that contains a subdirectory that is a malicious bare Git repo. So doing:
```
git clone github.com/foo/bar
cd bar/subdir/
```
is unsafe with a Git PS1. See https://offensi.com/2019/12/16/4-google-cloud-shell-bugs-exp...