Git isn't detected inside dev container in visual studio code

Viewed 224

Git is not detected when I open dev container in VisualStudio Code even when I cloned the file from GitHub using SSH key.

Docker Desktop is working fine, also Everything is working fine as I can perform build, clean and test.
I cannot commit changes because there is not git repository.

No Git in DevContainer:
shows no git

Local filesystem with cloned files:
cloned file

I'm new to this. If anyone can help.

1 Answers
Related