You will get this message when you choose Git when attempting to link your database to a Version Control System and link it to a folder that isn't a git repository.
To avoid this error message you should clone your git repository locally before attempting to link a database using SQL Source Control.
Please refer to your git provider's documentation on how to create a local repository and clone a remote repository into it