Do it, take the time and renew your batteries. You might find that three months is too long, but take it if you want it! You are confident that you can get a new job, which means you are feel secure about your marketability and your skill set. It is still a wonderful job market for developers, so take advantage of it.
Your comment about giving up git means that almost any decent developer job will probably be a step up from your current company.
Finally, you can take the time to pick up some new skills of work on side projects that you like. Or, don't, it's up to you.
I've been in a similar state as you and, looking back at it, I ask myself why didn't I move on sooner than I did.