While it is not an answer to your specific question, I would suggest this link:
Git Tutorial
for review. The author of the page (Lars Vogel) put together a very good beginner's guide to Git, and when I can't remember a specific option/parameter for what I am trying to do, this is what I 99% of the time refer to for help. For working with remote repos, you'll want to read through sections 11 and 12, but being new to Git, I would say give the entire document a read.
I would have to review NetBeans to see how their Git plug-in works; it may not support the push to a remote repository (local commits only), but that would surprise me. I rarely work in an IDE that supports Git, so more often than not, my commits are done at the command-line.