build_docker_image_from_git_repo - support setting of git remotes and remote tracking branches

This is for supporting Docker run scripts which need to perform some git
remote operation such as fetch / pull, but which initially cloned from a
local git repository.

Signed-off-by: Pang Yan Han <yanhan@viki.com>
v0.0.5

Signed-off-by: Pang Yan Han <yanhan@viki.com>