Important to identify who you are or git will not work. If you are using GitHub, Gitea or other remote service your email and name need to match your remote accounts - otherwise, you won't get your green blocks filled.
You can also configure account information on a repo by repo basis by omitting the --global flag.