I am very new to Github. I just created one github account and it says as bellow:
Step 1)
Global setup:
Set up git
git config --global user.name
For anyone at this page with similar issues common problems with netbeans ide:
If you have two factor authentication switched on in your github security settings netbeans can not handle this. If you use git bash cli it will popup with a login box and two factor code entry.
Also check your config file in the .git/ folder as netbeans can change git@github to [yourusername]@github.com in the url path which you can edit in this config file back to git@github.com.
These changes should allow you to push to a remote repository.