Stripping git on_branch? return value; contains trailing newline