Add branch fetching