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.
If you are working in an air-gapped environment, a workaround is required to clone repositories. See Fixing Git clone in air-gapped environment.
Note:
For information on configuring Git credentials using Control
Repositories, see Managing Git authentication for developers.