add ga func for git add

Signed-off-by: kangliang.zkl <kangliang.zkl@alibaba-inc.com>