Improve retrieval of commits on created branches