Why do we need to initialise our local directory as a git repository to push a commit to a remote repository on GitHub? We are adding the repository from GitHub, what is
![How to Add a Salesforce DX Project to Source Control -step by step guide – sfdc techie – Pavan's blog How to Add a Salesforce DX Project to Source Control -step by step guide – sfdc techie – Pavan's blog](https://sfdctechie.files.wordpress.com/2019/12/github.png)
How to Add a Salesforce DX Project to Source Control -step by step guide – sfdc techie – Pavan's blog
![How to Initialize a Git Repository using Visual Studio Code and Publish the Code to Git Server (Visual Studio Team Services) - CodeProject How to Initialize a Git Repository using Visual Studio Code and Publish the Code to Git Server (Visual Studio Team Services) - CodeProject](https://www.codeproject.com/KB/webservices/1177391/initialize_repository_1.png)