fix up if statement and git workings
wow that should not be there
add remote origin
refactor deploy script