Git authentication for dev containers

You can use Git within a dev container to ensure version control and collaboration while keeping your environment isolated.

There are many authentication methods specific to configuring Git in dev containers, including UI feature, personal access tokens and device code authentication.

Note: For information on configuring Git credentials using Control Repositories, see Managing Git authentication for developers.