Fork Solanachain

Hi friends ,

For testing purpose can i create my standalone version of Solanachain and create a fork of it ? an how to create if it possible i hope you help me. thanks