I've run Enter-PSSession successfully to connect to a remote server, and run several commands successfully too, like git add -u and git commit -m "xxx" etc.
but when trying to push the code using git push command, the shell then blocked forever unless exit with "Ctrl+C".
however I can remotely run git push from remote desktop program successfully without inputing any password.
is it because inputing username and password is needed in this case?
any way to solve/workaround it? thanks