get github code size code example
Example: github get repo size
If you own the repository, you can find the exact size by opening your Account
Settings -> Repositories (https://github.com/settings/repositories), and the
repository size is displayed next to its designation.
If you do not own the repository, you can fork it and then check the in the
same place.