Cant push my model using git

No no, logging in once should be enough, I just thought this might be the cause because of the “not authorized” error. Maybe this other thread helps, you can also try with SSH authentication as one of the users suggests.