How do I tell the difference between bike brands
You can try to find a serial number engraved somewhere on the bike. For road bike it is sometime under the bottom bracket, so you can try to look there first. Manufacturers might have different serial number pattern so you can start your search there.

Other than that, posting a picture on a forum or here might be a good idea since some people might recognize which  bike it is.