Issue
This started just today, in the past I have been able to upload to repos without issue.
When I tried to add a new project to a new repo, I was given an error "cannot connect to the repmote repository at in the gui window.
At first I suspected a connection problem so i tried to push another, existing project, using that project's default settings, and was given the dialog box error: Git command returned with the following error: : cannot open git-receive-pack
Solution
You still have the option to switch to SSH as a workaround.
But first, check if this is related to Netbeans, and upgrade from 8.0.2 to 8.2.
Make sure also to use the latest Git.
This could be related to the recent "Weak cryptographic standards removal notice"
Answered By - VonC
Answer Checked By - David Goodson (JavaFixing Volunteer)