TL; DR
Github上で任意のテキストファイルを直接編集する。
書き込み権限がない場合は注意書きが表示される。
詳細
詳細といってもこれ以上書きようがないので、分かりやすいように画像を添付しておきます。
BitbucketやGitLabの場合は知りません。他にいい方法があればコメントで教えて下さい。
- Github上で任意のテキストファイルを直接編集する。

- 書き込み権限がない場合は注意書きが表示される。
以下のNoticeが表示されます。
You’re editing a file in a project you don’t have write access to. We’ve created a fork of this project for you to commit your proposed changes to. Submitting a change to this file will write it to a new branch in your fork, so you can send a pull request.

検索用
1. 書き込み権限がないときのエラー
ERROR: Permission to hogehoge.git denied to hayashi-ay.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
2. 検索ワード対応
Git Repository, Write Permission, ライト権限