If you use the https protocol then you have to enter your username and password each time you want to push a change. If you set up an SSH key and use the SSH protocol, then you can push securely each time using that key.
You said using git protocol, but that's different (git://)
Thanks richoh, I meant SSH protocol. The ProTip has been updated.