Visual Studio Code – Is there a way to see if a file is source controlled and get its GitHub repo URL?
Given a path of a file or folder that is in a VS Code workspace, is there an API I can use to determine if it's Git-controlled and look up the associated remote repository URL? This would be for a…