php ile
<a href="https://www.google.com/?s=<?php echo urlencode("DEĞİŞKEN BURADA"); ?>">git</a>

get ile alınan veriyi ayrıca decode etmene gerek yok