add test script for git branch fetching