To connect a Microsoft Fabric workspace to a private GitHub repository, you need to follow the steps outlined in the "Connect a workspace to an Azure repo" section of the "Manage a workspace with Git (preview)" article. However, if the "Git integration" option does not show up in the workspace settings, it may be because you do not have the necessary prerequisites set up in both Azure DevOps and Fabric. Specifically, you need an active Azure account registered to the same user that is using the Fabric workspace, access to an existing repository, and either a Power BI Premium license or Fabric capacity. Additionally, your organization's administrator has to enable the "Users can create Fabric items" tenant switch from the Admin portal.
If you have all the necessary prerequisites set up and are still unable to see the "Git integration" option in the workspace settings, you may want to reach out to Microsoft support for further assistance.
References: