Diffusion Scap 0d72bf2a58f2

Rename and simplify some git deploy functions

Authored by dduvall.

Description

Rename and simplify some git deploy functions

Renamed a couple of the scap3 deploy related functions and refactored
them to be more single purpose.

Fixed bug in inside_git_dir decorator where location passed as a
keyword argument with no default defined resulted in a "Location is not
a git repo" error.

Bug: T109514
Change-Id: I10b10b740e702d4ae832d929a9f195da3d4475e4

Details