Hi, the issue you mentioned about new files not being automatically added to the Git repository, this could be due to a change in the default behavior of Visual Studio 2022. You can try the following steps to configure Visual Studio to automatically add new files to Git:
- Open the "Team Explorer" window in Visual Studio.
- Click the "Settings" button in the toolbar.
- In the "Global Settings" tab, check the box next to "Automatically stage new files".
- Click "Save" to apply the changes.
With this setting enabled, new files should be automatically added to the Git repository when you create them in Visual Studio.