Github directory and file limit

Is there a limit on the number of directories and files you can have in a Github repository or is it limited by bits / bytes?