Register Library on Gitlab

Yes, in case if it a local repository.
To edit a repository on Github you must have an account.