Issue #2241013 by mattman - Git commands should be whitelisted in websh wrapper to not add newline.