Code
Clone a repository
Get a repo onto a computer, ready to work in.
Fill it in
Any git remote.
Leave blank for the default.
Where to clone it.
Only for a private repository.
Your prompt
Clone [your repository] at [your branch] onto .
Use `computer exec` with real git. Authenticate with
`${credential:${credential:ACCESS_TOKEN}}`, passed through the environment rather than written
into a URL: a token in a remote URL ends up in `.git/config` and in every log
line that prints the remote.
Clone shallow unless the history is the point. Then report the path, the branch
you landed on, and the last commit, so the user knows exactly what they have.Continue and add your fileOpens with everything above already filled in.