Coder powers secure, scalable development across key industries — automotive, finance, government, and technology — enabling faster builds, tighter compliance, and seamless AI adoption in enterprise-grade cloud environments.
When starting to work on a project, engineers usually need to clone a Git
repository. Even though this is often a quick step, it can be automated using
the Coder Registry to make a seamless Git-first
workflow.
The first step to enable Coder to clone a repository is to provide
authorization. This can be achieved by using the Git provider, such as GitHub,
as an authentication method. If you don't know how to do that, we have written
documentation to help you:
With the authentication in place, it is time to set up the template to use the
Git Clone module from the
Coder Registry by adding it to our template's
Terraform configuration.
If you need more customization, you can read the
Git Clone module documentation
to learn more about the module.
Don't forget to build and publish the template changes before creating a new
workspace. You can check if the repository is cloned by accessing the workspace
terminal and listing the directories.