Unable to push changes to remote git repository
Published 24 May 2018
Some SQL Source Control users encounter an error when trying to push their committed changes to a remote repository.
Possible Cause
Many remote git repositories, including any hosted on GitHub, require use of the TLS 1.2 security protocol to authenticate.
This option is not available to SQL Source Control in some environments.
This is a known issue for those running SQL Source Control on Windows 7 or Windows Server 2012..
How to avoid the problem
Enable TLS 1.2 as a default secure protocol in Windows
This process is documented by Microsoft support.
Use an external git client to push
Once changes have been committed in SQL Source Control, an external git client can be used to perform operations on your git repository.
Popular clients include the git command line and the GitHub desktop client.
You will still need to use SQL Source Control to commit and retrieve your database changes.