You're asking the wrong question.
The relevant issue isn't, "is it worth to spend time to get some reputation?" but rather, "will the question and answer, as presented, be helpful to future visitors?". If it requires an off-site code repository to answer well, then the likelihood of the Q&A being helpful to the site is lowered greatly. Much better to ask them to create and post a valid Minimal Runnable Example program, one that is small enough so that the code can be posted in the question as code-formatted text.
Regarding your addition:
The reason I asked is that when I tried to answer in comments a user opened a chat room. So I asked for a git link. He asked for my telegram or facebook contact, I havent responded yet.
It is certainly reasonable to use chat to ask for question clarification and code, and I have used this to coach a new user through the steps in their creating a decent MRE (although this can be very time consuming and not always worth it). It is usually not best for the original poster to ask for help outside of this site, especially if they are trying to use the site as a personal help site, something which it most definitely is not, since doing so, can cheat the site out of a better question and possibly better answers for future visitors (which is the main purpose of this site).
See Is it OK to offer a user help on another platform? for some of the nuances on this.