update git_svn.py use regular expression get git head

Signed-off-by: Fuang.Cao <cavan.cfa@gmail.com>