Visual Studio - Padlock inconsistency using GitHub

Peter Bishop 161 Reputation points

As a team, we are using GitHub for version control within Visual Studio.

When a colleague adds a project to the solution, it has a blue padlock/red tick to indicate the checked-out status. However, when I add a project, this padlock is not displayed.

What would cause this inconsistency in functionality?


Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,572 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 25,466 Reputation points Microsoft Vendor

    Hi @Peter Bishop

    Welcome to Microsoft Q&A! 

    Are you using VS2022? 

    After adding projects or files, please go to Git Changes and make a Git commit. Then, the padlock icon appears. 

    For more details, please refer to: Make a Git commit in Visual Studio



    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.