Uniswap v3 launched under a Business Source License 1.1 (BUSL 1.1).
The license has since converted to a GNU general public license (GPL). This means anyone can fork the code for their own use, as long as that use is consistent with the requirements of the GPL.
The Uniswap Labs team has created documents that outline the forking process here.