Optimize fetching of a branch changeset

close #303