Modified version of git remote completion script

Signed-off-by: Gaetan Semet <gaetan@xeberon.net>