fix branch in /in source output

previously a null branch would end up as "null" (a string). instead, pass it
directly through.
add git out script; can push to a branch