Set maxAllowedContentLength to 4294967295 bytes, to allow for up to ~3GB files to be uploaded if desired.
set executionTimeout="240" maxRequestLength="2097151" in web.config
Fixed error where a repository without a "master" branch would crash on the Repository/Commits and Repository/Tree pages